package com.cloudoer.blog.model.info;

import com.cloudoer.blog.model.Article;
import com.cloudoer.blog.model.Tag;

import java.util.ArrayList;
import java.util.List;

public class ArticleInfo extends Article {
    public ArticleInfo(){}

    private List<Tag> tags = new ArrayList<>();

    public List<Tag> getTags() {
        return tags;
    }

    public void setTags(List<Tag> tags) {
        this.tags = tags;
    }

    @Override
    public String toString() {
        return "ArticleInfo{" +
                "tags=" + tags +
                "} " + super.toString();
    }
}
